package org.jeecg.modules.power.statistics.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.power.statistics.entity.YlZeroShop;

/**
 * @Description: 0门店收益记录表
 * @Author: jeecg-boot
 * @Date:   2024-08-05
 * @Version: V1.0
 */
public interface YlZeroShopMapper extends BaseMapper<YlZeroShop> {


    /**
     * APP运营端-首页门店-2级页面(0收益门店数据)
     * @param userId
     * @param groupId
     * @param cancellation 排序 1 正序 2 倒序
     * @return
     */
    List<Map> getZeroShopMapList(@Param("userId")String userId,@Param("groupId")String groupId,@Param("cancellation")Integer cancellation);


    /**
     * 获取折线图 0收益门店
     * @param userId 业务员用户id
     * @param groupId 小组id
     * @param day 多少天
     * @return
     */
    List<Map>  getZeroShopLineChart(@Param("userId")String userId,@Param("groupId")String groupId,@Param("day")Integer day);



}
